{include file="header.tpl"}

<h3>Praktyki</h3>

<table id="practices">
	<tr>
		<td>Data dodania</td>
		<td>Firma</td>
		<td>Miasto</td>
		<td>Od</td>
		<td>Do</td>
		<td>Liczba miejsc</td>
		<td></td>
	</tr>
	{foreach item=practice from=$practices}
	<tr style="background-color:{cycle values=#EBEBEB,#ACABAB}">
		<td>{$practice.add_date}</td>
		<td>{$practice.company_name}</td>
		<td>{$practice.city}</td>
		<td>{$practice.date_start}</td>
		<td>{$practice.date_end}</td>
		<td>{$practice.amount}</td>
		<td><a href ="practice_details.php?id={$practice.id}">Zobacz</a></td>
	</tr>
	{/foreach}
<table>
{include file="footer.tpl"}